home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / biblio / bibtex / contrib / abstyles / a4c.tex < prev    next >
Text File  |  1991-09-27  |  1KB  |  31 lines

  1. % This is A4C.TEX, a TeX macro file for WEB written by Hans-Hermann Bode
  2. % (HHBODE@DOSUNI1.BITNET), that sets up a page layout appropriate for DIN-A4
  3. % paper sheets (210 mm x 297 mm).
  4. %
  5. % The text is horizontally centered with margins of 2 cm left and right.
  6. %
  7. % It is assumed, that the DVI driver sets margins of 1 in left and top.
  8. %
  9. % Version    Date        Author    Comment
  10. % 1.00        08 Sep 1991    H2B    First version
  11. % 1.00a        28 Sep 1991    H2B    Correction: missing setpage included
  12.  
  13. \pagewidth21cm                % full paper
  14. \fullpageheight29.7cm
  15.  
  16. \hoffset2cm                % left margin
  17. \pageshift0cm                % additionally for odd-numbered pages
  18. \voffset2cm                % top margin
  19.  
  20. \advance\pagewidth by-2\hoffset        % minus margins
  21. \advance\pagewidth by-2\pageshift    % minus extra margins
  22. \advance\fullpageheight by-2\voffset    % minus margins
  23.  
  24. \pageheight\fullpageheight        % full text
  25. \advance\pageheight by-0.3in        % minus header
  26.  
  27. \advance\hoffset by-1in            % compensate the driver margins
  28. \advance\voffset by-1in
  29.  
  30. \setpage                % tell TeX new dimensions
  31.